<?php include $this->getViewFile('/common/Head'); ?>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
   <?php include $this->getViewFile('/common/Nav') ?>
   <form class="J_ajaxForm" action="<?php echo AdminBase::U("edit") ?>" method="post" id="myform">
   <div class="h_a">基本属性</div>
   <div class="table_full">
   <table width="100%" class="table_form contentWrap">
        <tbody>
          <tr>
            <th width="80">品牌名称</th>
            <td><input type="test" name="brand_name" class="input length_6" value="<?php echo $data->brand_name?>" placeholder="品牌名称"></td>
          </tr>
          <tr>
            <th>英文名称</th>
            <td><input type="test" name="brand_name_en" class="input length_2" value="<?php echo $data->brand_name_en?>" placeholder="英文名称"></td>
          </tr>
          <tr>
            <th>首字母</th>
            <td><input type="text" name="initial" class="input length_1 " value="<?php echo $data->initial?>" placeholder="首字母"></td>
          </tr>
          <tr>
            <th>描述</th>
            <td><textarea type="text" name="brand_des" cols="60" rows="6"><?php echo $data->brand_des?></textarea></td>
          </tr>
          <tr>
            <th>是否启用</th>
            <td><?php echo Form::radio(array(1=>'启用',0=>'禁用'),$data->disabled,'name="disabled"') ?></td>
          </tr>
          <tr>
            <th>扩展属性</th>
            <td><input type="checkbox" name="is_best" value="1" <?php echo $data->is_best?'checked':''; ?>> 推荐
            <input type="checkbox" name="is_new" value="1" <?php echo $data->is_new?'checked':''; ?>> 新品
            <input type="checkbox" name="is_hot" value="1" <?php echo $data->is_hot?'checked':''; ?>> 热卖</td>
          </tr>
          <tr>
            <th>品牌LOGO</th>
            <td><input type="text" name="logo" class="input length_5 " value="<?php echo $data->logo?>" placeholder="LOGO地址"></td>
          </tr>
          <tr>
            <th>品牌报图</th>
            <td><input type="text" name="brand_poster" class="input length_5 " value="<?php echo $data->brand_poster?>" placeholder="品牌报图"></td>
          </tr>
          <tr>
            <th>排序</th>
            <td><input type="text" name="listorder" class="input length_1 " value="<?php echo $data->listorder?>" placeholder="排序"></td>
          </tr>
        </tbody>
      </table>
   </div>
   <div class="btn_wrap1">
      <div class="btn_wrap_pd">             
        <input type="hidden" name="brand_id" value="<?php echo $data->brand_id?>">
        <button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">编辑</button>
      </div>
    </div>
    </form>
</div>
<script src="<?php echo $staticUrl; ?>statics/js/common.js"></script>
</body>
</html>